<?php /* Smarty version Smarty-3.1.6, created on 2013-05-12 18:15:30
         compiled from "D:\Wamp\www\erp2.1\DzhPHP\FrameWork/Tpl\Glass\edit.tpl" */ ?>
<?php /*%%SmartyHeaderCode:135625184d5c26287e2-91424801%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b9bfa87c0b82b1952e3f1a4b164a705a55afeb87' => 
    array (
      0 => 'D:\\Wamp\\www\\erp2.1\\DzhPHP\\FrameWork/Tpl\\Glass\\edit.tpl',
      1 => 1368353726,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '135625184d5c26287e2-91424801',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5184d5c262970',
  'variables' => 
  array (
    'rs' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5184d5c262970')) {function content_5184d5c262970($_smarty_tpl) {?><?php if (!is_callable('smarty_function_wz')) include 'D:\\Wamp\\www\\erp2.1\\DzhPHP\\FrameWork\\Extend\\Vendor\\Smarty\\plugins\\function.wz.php';
?><form method="POST" action="<?php echo U('Glass/update');?>
" onsubmit="return false">
    <?php echo smarty_function_wz(array('action'=>"save,list,reset"),$_smarty_tpl);?>

    <div class="glass_info">
    <div class="add_box">
        <input type="hidden" name="id" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['id'];?>
">
        <table cellspacing="0" cellpadding="0" class="add_table" border=1 >
            <tbody>
                <tr>
                    <th colspan="7" class="t_left basic_title">基本信息</th>
                </tr>
                <tr>
                    <td class="t_right">姓名：</td>
                    <td class="t_left"><input type="text" name="user_name" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['user_name'];?>
" ></td>
                    <td class="t_right">性别：</td>
                    <td class="t_left">
                        <input type="radio" name="sex"   checked value="男"/>男 &nbsp;&nbsp;
                        <input type="radio" name="sex"    value="2" <?php if ($_smarty_tpl->tpl_vars['rs']->value['sex']=='女'){?> checked="true" <?php }?>/>女
                    </td>
                    <td class="t_right">配镜日期：</td>
                    <td class="t_left" colspan="2">
                        <input type="text" name="instock_date" class=" spc_input"  value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['instock_date'];?>
">
                    </td>
                </tr>
                <tr>
                    <td class="t_right">年龄：</td>
                    <td class="t_left"><input type="text" name="age" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['age'];?>
" ></td>
                    <td class="t_right">职业：</td>
                    <td class="t_left"><input type="text" name="job" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['job'];?>
"></td>
                    <td class="t_right">电话：</td>
                    <td class="t_left" colspan="2"><input type="text" name="telphone" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['telphone'];?>
" ></td>
                </tr>
                <tr>
                    <td class="t_right">通讯地址：</td>
                    <td colspan="6" class="t_left">
                        <input type="text" name="address" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['address'];?>
">
                    </td>
                </tr>
                <tr>
                    <th colspan="7" class="t_left basic_title">顶焦度</th>
                </tr>
                <tr style="font-size:14px;font-weight: bold;">
                    <td >&nbsp;</td>
                    <td class="t_center" width="15%">球镜</td>
                    <td class="t_center" width="15%">柱镜</td>
                    <td class="t_center" width="15%">轴位</td>
                    <td class="t_center" width="15%">瞳距</td>
                    <td class="t_center" width="12%">矫正视力</td>
                    <td class="t_center" width="12%">裸眼视力</td>
                </tr>
                <tr>
                    <td class="t_right">右（R）</td>
                    <td class="t_center"><input type="text"  name="qiu_right" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['qiu_right'];?>
"></td>
                    <td class="t_center"><input type="text"  name="zhu_right" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['zhu_right'];?>
"></td>
                    <td class="t_center"><input type="text"  name="zhou_right" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['zhou_right'];?>
"></td>
                    <td class="t_center"><input type="text"  name="tong_right" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['tong_right'];?>
"></td>
                    <td class="t_center"><input type="text"  name="jiao_right" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['jiao_right'];?>
"></td>
                    <td class="t_center"><input type="text"  name="luo_right" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['luo_right'];?>
"></td>
                </tr>
                <tr>
                    <td class="t_right">左（L）</td>
                    <td class="t_center"><input type="text"  name="qiu_left" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['qiu_left'];?>
"></td>
                    <td class="t_center"><input type="text"  name="zhu_left" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['zhu_left'];?>
"></td>
                    <td class="t_center"><input type="text"  name="zhou_left" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['zhou_left'];?>
"></td>
                    <td class="t_center"><input type="text"  name="tong_left" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['tong_left'];?>
"></td>
                    <td class="t_center"><input type="text"  name="jiao_left" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['jiao_left'];?>
"></td>
                    <td class="t_center"><input type="text"  name="luo_left" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['luo_left'];?>
"></td>
                </tr>
                <tr>
                    <td class="t_center">镜架品牌与价格</td>
                    <td colspan="2" class="t_left"><input type="text" name="frames" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['frames'];?>
"></td>
                    <td class="t_center">镜片品牌与价格</td>
                    <td colspan="3" class="t_left"><input type="text" name="eyeglass" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['eyeglass'];?>
"></td>
                </tr>
                <tr>
                    <td class="t_right">总金额：</td>
                    <td colspan="6">
                        <input type="text" name="money" value="<?php echo $_smarty_tpl->tpl_vars['rs']->value['edml_money'];?>
">
                    </td>
                </tr>
                <tr>
                    <td  class="t_right">备注：</td>
                    <td class="t_left" colspan="6"><textarea name="comments"><?php echo $_smarty_tpl->tpl_vars['rs']->value['comments'];?>
</textarea>
                    </td>
                </tr>
            </tbody>
        </table> 
    </div>
  </div>
</form>
<style>
.glass_info .add_table{ border: 1px solid #89A5C5;}
.glass_info .add_table td,.glass_info .add_glass th{
     height:32px;
     font-size:14px;
}
.glass_info .add_table input[type=text],.glass_info .add_table textarea{
    border:0px;
    padding:0px;
    width:100%;
    height:100%;
    font-size:12px;
}
.glass_info .basic_title{
    font-size:20px;
}
</style>
                        <?php }} ?>